/*
 * Copyright © 2022
 * @Author: zhangxiang
 * @Date: 2022-11-22 09:50:44
 * @LastEditors: zhangxiang
 * @LastEditTime: 2023-03-22 16:42:53
 * @Description:
 *
 */

import request from '@/utils/request'

/**
 * @description: 获取算力资源监控-统计-数据
 * @param {*} params
 * @return {*}
 */
export function getMonitorCompute(params) {
  return request({
    url: '/api/monitor/compute',
    method: 'get',
    params
  })
}
export function getDetailList(data) {
  return request({
    url: '/api/monitor/detail/vms',
    method: 'post',
    data
  })
}
export function getDetailUsage(data) {
  return request({
    url: '/api/monitor/detail/chart',
    method: 'post',
    data
  })
}
export function getDetailTop5(data) {
  return request({
    url: '/api/monitor/detail/top',
    method: 'post',
    data
  })
}


